class CreatePeople < ActiveRecord::Migration
  def self.up
    create_table :people do |t|
      t.string    :name, :surname, :limit => 30, :null => false
      t.integer   :vote_id, :limit => 11, :null => false
      
      t.timestamps
    end
  end

  def self.down
    drop_table :people
  end
end
